
const FS = wx.getFileSystemManager()

/**
 * 文件操作类
 */
export default class FileUtils {

  static readFile(filePath){
    var resStr
    try { var resStr = FS.readFileSync(filePath, 'utf8', 0) }
    catch (e) { console.error(e) }
    return resStr
  }
}